### Image Elements

- <img> tag - Use the <img> tag to place an image in the text flow. Use either monochrome wbmp (wireless bitmap) forma or color JPEG format to code images for display. Images can be used as hyperlinks, as per WML 1.3. The <img> element can be contained in these elements: a, anchor, b, big, em, fieldset, i, p, small, strong, td, and u.

Attribute | Value | Description | Comments
--- | --- | --- | ---
align | top middle bottom left right center | Aligns the image. | Left is the only value currently SUPPORTED.
alt | cdata | REQUIRED. Sets an alternate text to be displayed if the image is not displayed. If this is not supplied, either default text displays (if available) or one of the following messages displays: “Image not displayed” (for the Prompt Line) or “No image” for a softkey label. | SUPPORTED. When an alt tag is not associated with an image, the Prompt Line should be empty.
height | px (pixel) % | Sets the height of the image. | NOT SUPPORTED. The true height parameters are determined by parsing the WBMP/JPEG information.
hspace | px % | Sets white space to the left and right of the image. Specify the value in pixels, for example, “10” or as a percentage of the available screen size. | SUPPORTED. The default is 0 pixel.
localsrc | cdata | Sets an alternate representation for the image. | NOT SUPPORTED.
src | url | REQUIRED. The path to the image. Must be either a .wbmp file or a jpeg file. | SUPPORTED.
vspace | px % | Sets white space above and below the image. Specify the value in pixels, for example, “10” or as a percentage of the available screen size | SUPPORTED. The default is 0 pixel.
width | px % | Sets the width of the image. | NOT SUPPORTED. The true width parameters are determined by parsing the WBMP/JPEG information.
style | property | Cascading style sheet attribute. | SUPPORTED.